﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_BankManage, App_Web_bankmanage.aspx.fdf7a39c" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>    <link href="../css/Admin_Css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div >
        <br />
    
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;  font-size:12px;">
                        <tr>
                            <td style="background-image: url(../Images/btn_bg.gif); width: 100%; height: 24px; text-align: left;">
                                &nbsp; 银行设置</td>
                        </tr></table><br />
        &nbsp;&nbsp; 名称：
        <asp:TextBox ID="txtboxstat" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtboxstat"
            ErrorMessage="必须输入银行名称"></asp:RequiredFieldValidator>
        <asp:Button ID="okbtn" runat="server" OnClick="okbtn_Click" Text="添加" />&nbsp;&nbsp;
        &nbsp; &nbsp;<br />
        &nbsp; &nbsp; &nbsp; <br />
        <asp:GridView ID="NewListGv" runat="server" AutoGenerateColumns="False" OnRowDeleting="NewListGv_RowDeleting" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None" OnRowCancelingEdit="NewListGv_RowCancelingEdit" OnRowEditing="NewListGv_RowEditing" OnRowUpdating="NewListGv_RowUpdating" Width="69%">
            <Columns>
               
                   <asp:TemplateField HeaderText="ID">
                <ItemTemplate>
                <%#Eval("ID") %>
                </ItemTemplate>
                  <ItemStyle Width="50px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="银行名称">
                <ItemTemplate>
          &nbsp; <%# Eval("BankName")%>
                </ItemTemplate>
                <EditItemTemplate>
                <asp:TextBox ID="mz" runat="server" Text='<%# Eval("BankName")%>' Width="200px" ></asp:TextBox>
                </EditItemTemplate>
                    <ItemStyle Width="400px" />
                </asp:TemplateField>

         
                <asp:CommandField ShowEditButton="True" CausesValidation="False" />
                <asp:CommandField ShowDeleteButton="True"  DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除吗？')&quot;&gt;删除&lt;/div&gt; " />
            </Columns>
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
           
        </asp:GridView>
        &nbsp; &nbsp;&nbsp;
       
        <webdiyer:AspNetPager ID="NewsPage" runat="server" AlwaysShow="True" NumericButtonCount="10" OnPageChanged="NewsPage_PageChanged" PageSize="20" CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条" PageIndexBoxType="TextBox" ShowCustomInfoSection="Right" ShowPageIndexBox="Always" SubmitButtonText="Go" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" Width="672px"  >
    </webdiyer:AspNetPager>
        <br />
    </div>
    </form>
</body>
</html>
